using Domain.Entities;
using Domain.Services;
using System;

namespace UserInterface
{
    public partial class Users : BoardPageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string pageTitle = (string)GetLocalResourceObject("Title");
            MasterPage.TitleGenerator.PageTitle = pageTitle;
            MasterPage.AddPathItem(pageTitle, "Users.aspx");

            UserRepeater.DataSource = UserService.GetAll();
            UserRepeater.DataBind();
        }
    }
}
